<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*,com.controller.User"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
		<%
		//User ul = new User();
		//ul.setName("cat");
		//ul.setAge(88);
		//ul.setMobile("11111111");
		
		%>
		
		<jsp:useBean id="ul" class="com.controller.User"></jsp:useBean>
		<jsp:setProperty property="name" name="ul" value="cat"/>
		<jsp:setProperty property="age" name="ul" value="88"/>
		<jsp:setProperty property="mobile" name="ul" value="11111111"/>
		
		用户名为:<jsp:getProperty property="name" name="ul"/><br>
		年龄为:<jsp:getProperty property="age" name="ul"/><br>
		手机号码为:<jsp:getProperty property="mobile" name="ul"/><br>
</body>
</html>